package com.example.springaop.myAop;

/**
 * 创建日志类
 */
public class MyLogger {
    /**
     * 入参日志
     *
     * @param a
     * @param b
     */
    public void showParam(int a, int b) {
        System.out.println("The method add begins with[" + a + "," + b + "]");
    }

    /**
     * 运算结果日志
     *
     * @param result
     */
    public void showResult(int result) {
        System.out.println("The method add ends with[" + result + "]");
    }
}
